

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Configure Packages [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Configure,Configure Controlled Packages With XMI,Configure,Configure Packages,Package,Package Configuration">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Configure Packages</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="controlledpackagemenu.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="disconnectcontrolledpackage_.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">Before you can use a controlled package, you must configure it with options such as the filename to save to/load from, the type of export and the version number. Once a package is configured and marked as controlled, it is displayed in the </span><span class="f_UIControl">Project Browser</span><span class="f_BodyText"> with a small colored rectangle next to the package icon, indicating it is a controlled package. In the example below, the </span><span class="f_BodyText" style="font-style: italic;">RQ01: Formal Requirements</span><span class="f_BodyText"> package is a controlled package.</span></p>
<p class="p_TextIndentedL2"><img src="addview.png" width="215" height="81" border="0" alt="Addview"></p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 5px 0px 5px 13px;"><table cellspacing="0" cellpadding="2" border="0" style="border: none; border-spacing:0px;">
<tr style="text-align:left;vertical-align:bottom;">
<td valign="bottom" width="955" bgcolor="#efeff7" style="width:955px; background-color:#efeff7;"><p class="p_TiporNote" style="border-top: none; border-right: none; border-left: none;"><span class="f_TiporNote">Note:</span></p>
</td>
</tr>
<tr style="text-align:left;">
<td width="955" bgcolor="#f7f7ff" style="width:955px; background-color:#f7f7ff;"><p class="p_TiporNoteText"><span class="f_TiporNoteText">In the </span><span class="f_TiporNoteText">Corporate, Business and Software Engineering, System Engineering and Ultimate editions</span><span class="f_TiporNoteText"> of Enterprise Architect, if security is enabled you must have </span><span class="f_TiporNoteText" style="font-weight: bold;"><a href="permissionlist.htm">Configure Packages</a></span><span class="f_TiporNoteText"> permission to configure controlled packages and package properties.</span></p>
</td>
</tr>
</table>
</div>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Configure a Controlled Package</span></p>
<p class="p_BodyText"><span class="f_BodyText">To configure a controlled package, follow the steps below:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=1><span class="f_NumberedList">In the </span><span class="f_UIControl">Project Browser</span><span class="f_NumberedList">, right-click on the package to control or configure. The context menu displays.</span></li>
<li value=2><span class="f_NumberedList">Click on the </span><span class="f_MenuKeyField">Package Control | Configure</span><span class="f_NumberedList"> menu option. The </span><span class="f_UIControl">Package Control Options</span><span class="f_NumberedList"> dialog displays.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<span class="f_NumberedList"> </span><img src="packagecontroloptions2.png" width="480" height="299" border="0" alt="PackageControlOptions2"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=3><span class="f_NumberedList">Set the required options, as follows:</span></li>
</ol>
<ul style="text-indent: 0px; margin-left: 65px; list-style-position: outside;">
<li><span class="f_Bulletlist3">Select the </span><span class="f_MenuKeyField">Control Package</span><span class="f_Bulletlist3"> checkbox to indicate that this is a controlled package</span></li>
<li><span class="f_Bulletlist3">Click on the </span><span class="f_MenuKeyField">Version Control</span><span class="f_Bulletlist3"> drop-down arrow and select the version control repositories; this connects the package to a specific version control configuration</span></li>
<li><span class="f_Bulletlist3">In the </span><span class="f_MenuKeyField">XMI Filename</span><span class="f_Bulletlist3"> field, type or browse for the path and XMI file for importing and exporting XMI files. The field accepts</span><span class="f_Bulletlist3"> Local Path Substitution strings; for example, use an XMI local path definition where:</span><br>
<span class="f_Bulletlist3">&nbsp;</span><br>
<span class="f_Code">myLocalPath=&quot;C:\Documents and Settings\John\Desktop\EA Models&quot;</span><br>
<span class="f_Bulletlist3">&nbsp;</span><br>
<span class="f_Bulletlist3">Then</span><span class="f_Code"> </span><span class="f_Code">%myLocalPath%\CIM.xml</span><span class="f_Bulletlist3"> is equivalent to </span><span class="f_Code">C:\Documents and Settings\John\Desktop\EA Models\CIM.xml</span></li>
<li><span class="f_Bulletlist3">In the </span><span class="f_MenuKeyField">UML/XMI Type</span><span class="f_Bulletlist3"> field, click on the drop-down arrow and select the type of XMI generated; options include Enterprise Architect XMI/UML 1.3, Rational Rose/Unisys UML 1.3 and Generic XMI 1.0/UML 1.3 - currently only Enterprise Architect UML 1.3 is supported for complete import/export round tripping of packages</span></li>
<li><span class="f_Bulletlist3">In the </span><span class="f_MenuKeyField">Version ID</span><span class="f_Bulletlist3"> field, type the version ID number</span></li>
<li><span class="f_Bulletlist3">In the </span><span class="f_MenuKeyField">Owner</span><span class="f_Bulletlist3"> field, type or select the name of the package owner</span></li>
<li><span class="f_Bulletlist3">If required, click on the </span><span class="f_MenuKeyField">Use DTD</span><span class="f_Bulletlist3"> checkbox to use a Data Type Definition (DTD)</span></li>
<li><span class="f_Bulletlist3">If required, click on the </span><span class="f_MenuKeyField">Log Import/Export</span><span class="f_Bulletlist3"> checkbox to log import and export activity to a log file</span></li>
<li><span class="f_Bulletlist3">If required, click on the </span><span class="f_MenuKeyField">Batch Import</span><span class="f_Bulletlist3"> checkbox to mark the package as a Batch Import package</span></li>
<li><span class="f_Bulletlist3">If required, click on the </span><span class="f_MenuKeyField">Batch Export</span><span class="f_Bulletlist3"> checkbox to mark the package as a Batch Export package.</span></li>
</ul>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=4><span class="f_NumberedList">Click on the</span><span class="f_MenuKeyField"> OK</span><span class="f_NumberedList"> button to set the Package Control options.</span></li>
</ol>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 5px 0px 5px 13px;"><table cellspacing="0" cellpadding="2" border="0" style="border: none; border-spacing:0px;">
<tr style="text-align:left;vertical-align:bottom;">
<td valign="bottom" width="955" bgcolor="#efeff7" style="width:955px; background-color:#efeff7;"><p class="p_TiporNote" style="border-top: none; border-right: none; border-left: none;"><span class="f_TiporNote">Note:</span></p>
</td>
</tr>
<tr style="text-align:left;">
<td width="955" bgcolor="#f7f7ff" style="width:955px; background-color:#f7f7ff;"><p class="p_TiporNoteText"><span class="f_TiporNoteText">For batch import, the file date of the XMI file is stored. You can bypass the batch import if the file date of the last import matches that of the current file (that is, there is no change).</span></p>
</td>
</tr>
</table>
</div>




            </div>
          </div>
        </div>



</div>


</body>
</html>
